package com.dms.modules.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("community_post_tag")
@ApiModel(value = "帖子标签关联", description = "帖子与标签的关联信息")
public class CommunityPostTag {
    
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("ID")
    private Long id;
    
    @ApiModelProperty("帖子ID")
    private Long postId;
    
    @ApiModelProperty("标签ID")
    private Long tagId;
    
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
} 